import React from 'react';
import { Typography } from 'antd';
import { FormContent } from '../../components';

export default function AssessAbilityDesc({ data = {} }) {
    const { startTime, endTime } = data;

    if (!startTime || !endTime) {
        return null;
    }

    return (
        <FormContent>
            <Typography.Paragraph type="secondary">
                {`结合新员工 ${startTime} ~ ${endTime} 工作完成情况、团队合作表现等，对其进行能力评估，便于人事、管理层进行跟踪！`}
            </Typography.Paragraph>
        </FormContent>
    );
}
